package com;

import com.jfinal.server.undertow.UndertowConfig;
import com.jfinal.server.undertow.UndertowServer;

/**
 * 项目启动类
 */
public class Run {

    public static void main(String[] args) {
        UndertowConfig undertowConfig = new UndertowConfig(AppConfig.class);
        undertowConfig.setHost("0.0.0.0");
        undertowConfig.setPort(8080);
        undertowConfig.setDevMode(true);
        UndertowServer.create(undertowConfig).start();
        //UndertowServer.start(AppConfig.class, 8080, true);
    }
}
